﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using TyMES.Model.Record;
using TyMES.Model;

namespace TyMES.ViewModel.Record.StationLogRecordVMs
{
    public partial class StationLogRecordBatchVM : BaseBatchVM<StationLogRecord, StationLogRecord_BatchEdit>
    {
        public StationLogRecordBatchVM()
        {
            ListVM = new StationLogRecordListVM();
            LinkedVM = new StationLogRecord_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class StationLogRecord_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._StationLogRecord._Date_Time")]
        public DateTime? Date_Time { get; set; }
        [Display(Name = "_Model._StationLogRecord._LineCode")]
        public string LineCode { get; set; }
        [Display(Name = "_Model._StationLogRecord._StationCode")]
        public string StationCode { get; set; }
        [Display(Name = "_Model._StationLogRecord._Log")]
        public string Log { get; set; }
        [Display(Name = "_Model._StationLogRecord._LogType")]
        public string LogType { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}